<?php
declare(strict_types=1);

namespace App\Common\Modular\System\Model;

use Core\Basics\BasicsModel;
use Zms\HyperfCasts\JsonCasts;

/**
 * @property int $id
 * @property string $classify 分类
 * @property array $value 配置值
 */
class ConfigureModel extends BasicsModel
{
    public bool $timestamps = false;
    /**
     * The table associated with the model.
     */
    protected ?string $table = 'system_configure';

    /**
     * The attributes that are mass assignable.
     */
    protected array $fillable = [];

    /**
     * The attributes that should be cast to native types.
     */
    protected array $casts = [
        'id' => 'int',
        'value' =>JsonCasts::class,
    ];
}
